\hypertarget{classduye_1_1_net_server}{\section{duye\-:\-:Net\-Server Class Reference}
\label{classduye_1_1_net_server}\index{duye\-::\-Net\-Server@{duye\-::\-Net\-Server}}
}


network server abstract class  




{\ttfamily \#include $<$duye\-\_\-net\-\_\-server.\-h$>$}

Inheritance diagram for duye\-:\-:Net\-Server\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classduye_1_1_net_server}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classduye_1_1_net_server_afec7ec3cb2eaadaf5d2715959ea47011}{{\bfseries Net\-Server} (const char $\ast$\hyperlink{classduye_1_1_net_server_a843c370dafc3da823298f73762aa0087}{server\-Name})}\label{classduye_1_1_net_server_afec7ec3cb2eaadaf5d2715959ea47011}

\item 
virtual bool \hyperlink{classduye_1_1_net_server_aa8c00e9883e8094f9348aeb49e539005}{start\-Server} ()=0
\begin{DoxyCompactList}\small\item\em start network server \end{DoxyCompactList}\item 
virtual bool \hyperlink{classduye_1_1_net_server_a39bc762d23649f4dace78cafbbda7c5c}{stop\-Server} ()=0
\begin{DoxyCompactList}\small\item\em stop network server \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_net_server_aaa49b9eeb3bc232654dd3080652dc4c6}{void \hyperlink{classduye_1_1_net_server_aaa49b9eeb3bc232654dd3080652dc4c6}{set\-Server\-Name} (const std\-::string \&server\-Nane)}\label{classduye_1_1_net_server_aaa49b9eeb3bc232654dd3080652dc4c6}

\begin{DoxyCompactList}\small\item\em set server name  \mbox{[}in\mbox{]} server\-Name \-: server name \end{DoxyCompactList}\item 
const std\-::string \& \hyperlink{classduye_1_1_net_server_a843c370dafc3da823298f73762aa0087}{server\-Name} ()
\begin{DoxyCompactList}\small\item\em get server name \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_net_server_ae6c124a4acadbe22e0b2da31a0f67206}{void \hyperlink{classduye_1_1_net_server_ae6c124a4acadbe22e0b2da31a0f67206}{set\-Server\-Status} (const Server\-Status status)}\label{classduye_1_1_net_server_ae6c124a4acadbe22e0b2da31a0f67206}

\begin{DoxyCompactList}\small\item\em set server status  \mbox{[}in\mbox{]} status \-: server status \end{DoxyCompactList}\item 
Server\-Status \hyperlink{classduye_1_1_net_server_aa858aa17f95504b5c18707a39fe944a7}{server\-Status} ()
\begin{DoxyCompactList}\small\item\em get server status \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
network server abstract class 

\subsection{Member Function Documentation}
\hypertarget{classduye_1_1_net_server_a843c370dafc3da823298f73762aa0087}{\index{duye\-::\-Net\-Server@{duye\-::\-Net\-Server}!server\-Name@{server\-Name}}
\index{server\-Name@{server\-Name}!duye::NetServer@{duye\-::\-Net\-Server}}
\subsubsection[{server\-Name}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::string\& duye\-::\-Net\-Server\-::server\-Name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classduye_1_1_net_server_a843c370dafc3da823298f73762aa0087}


get server name 

\begin{DoxyReturn}{Returns}
server name 
\end{DoxyReturn}
\hypertarget{classduye_1_1_net_server_aa858aa17f95504b5c18707a39fe944a7}{\index{duye\-::\-Net\-Server@{duye\-::\-Net\-Server}!server\-Status@{server\-Status}}
\index{server\-Status@{server\-Status}!duye::NetServer@{duye\-::\-Net\-Server}}
\subsubsection[{server\-Status}]{\setlength{\rightskip}{0pt plus 5cm}Server\-Status duye\-::\-Net\-Server\-::server\-Status (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classduye_1_1_net_server_aa858aa17f95504b5c18707a39fe944a7}


get server status 

\begin{DoxyReturn}{Returns}
server status 
\end{DoxyReturn}
\hypertarget{classduye_1_1_net_server_aa8c00e9883e8094f9348aeb49e539005}{\index{duye\-::\-Net\-Server@{duye\-::\-Net\-Server}!start\-Server@{start\-Server}}
\index{start\-Server@{start\-Server}!duye::NetServer@{duye\-::\-Net\-Server}}
\subsubsection[{start\-Server}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool duye\-::\-Net\-Server\-::start\-Server (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{classduye_1_1_net_server_aa8c00e9883e8094f9348aeb49e539005}


start network server 

\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}


Implemented in \hyperlink{classduye_1_1_hcn_server_aac0751f922f3a961a5784ab1b81c71dc}{duye\-::\-Hcn\-Server}, \hyperlink{classduye_1_1_tcp_server_a73b9619bca69ad73298f765857178cb1}{duye\-::\-Tcp\-Server}, and \hyperlink{classduye_1_1_udp_server_a1679cf6b3582270492e18bb683ac81f5}{duye\-::\-Udp\-Server}.

\hypertarget{classduye_1_1_net_server_a39bc762d23649f4dace78cafbbda7c5c}{\index{duye\-::\-Net\-Server@{duye\-::\-Net\-Server}!stop\-Server@{stop\-Server}}
\index{stop\-Server@{stop\-Server}!duye::NetServer@{duye\-::\-Net\-Server}}
\subsubsection[{stop\-Server}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool duye\-::\-Net\-Server\-::stop\-Server (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{classduye_1_1_net_server_a39bc762d23649f4dace78cafbbda7c5c}


stop network server 

\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}


Implemented in \hyperlink{classduye_1_1_hcn_server_a762bc71b122d78dc903be06be1cc5f9a}{duye\-::\-Hcn\-Server}, \hyperlink{classduye_1_1_tcp_server_a5046105d06cfdddae09b0dab2be4ad87}{duye\-::\-Tcp\-Server}, and \hyperlink{classduye_1_1_udp_server_a7e06bf397f1b1716c737fd59747d23fe}{duye\-::\-Udp\-Server}.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Z\-:/duye/src/duyebase/net/\hyperlink{duye__net__server_8h}{duye\-\_\-net\-\_\-server.\-h}\end{DoxyCompactItemize}
